package cn.sccl.common.exception.security;


import cn.sccl.common.exception.BusinessException;

/**
 * Created by 杨浩宇 on 2015-12-15.
 */
public class NotLoginException extends BusinessException {
    private String message = "您还未登录系统，请先登录！";

    public NotLoginException() {
        super();
    }

    public NotLoginException(Throwable cause) {
        super(cause);
    }

    @Override
    public String getMessage() {
        return this.message;
    }

    @Override
    public String getErrorCode() {
        return "00002";
    }
}
